#pragma once
#include "header.h"

class CFontRenderer
{
public:
	CFontRenderer( LPDIRECT3DDEVICE9 pDevice, int iHeight = 12 );
	~CFontRenderer(void);

	void Render( D3DXVECTOR3 pos, string text, bool colorful, 
		D3DXCOLOR color, bool onScreen, D3DXVECTOR2 scrPos );

public:
	LPDIRECT3DDEVICE9		m_pDevice; 

	ID3DXSprite*			m_pTextSprite;
	ID3DXFont*				m_pFont;
	RECT					m_rc;


};
